[INFO] cloning repository https://github.com/ignoreAnt/rust-fundamentals-r1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ignoreAnt/rust-fundamentals-r1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FignoreAnt%2Frust-fundamentals-r1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FignoreAnt%2Frust-fundamentals-r1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e8da1f2d6e8416dd26d1c31e720767ca22de23b
[INFO] fixing ignoreAnt/rust-fundamentals-r1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FignoreAnt%2Frust-fundamentals-r1" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ignoreAnt/rust-fundamentals-r1
[INFO] finished tweaking git repo https://github.com/ignoreAnt/rust-fundamentals-r1
[INFO] tweaked toml for git repo https://github.com/ignoreAnt/rust-fundamentals-r1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ignoreAnt/rust-fundamentals-r1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ignoreAnt/rust-fundamentals-r1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 18b45053e67658083df1fba340482d790c6a7406d5b56c3e057007725938cd54
[INFO] running `Command { std: "docker" "start" "18b45053e67658083df1fba340482d790c6a7406d5b56c3e057007725938cd54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "18b45053e67658083df1fba340482d790c6a7406d5b56c3e057007725938cd54" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18b45053e67658083df1fba340482d790c6a7406d5b56c3e057007725938cd54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "18b45053e67658083df1fba340482d790c6a7406d5b56c3e057007725938cd54" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-fundamentals-r1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: could not compile `rust-fundamentals-r1` (example "func_16_g") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-fundamentals-r1` (example "cf_6_g") due to 1 previous error
[INFO] [stdout] error[E0601]: `main` function not found in crate `func_16_g`
[INFO] [stdout]  --> examples/func_16_g.rs:5:2
[INFO] [stdout]   |
[INFO] [stdout] 5 | }
[INFO] [stdout]   |  ^ consider adding a `main` function to `examples/func_16_g.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> examples/cf_6_g.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn classify_number(number: i32) -> &str {
[INFO] [stdout]   |                                    ^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout]   = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn classify_number(number: i32) -> &'static str {
[INFO] [stdout]   |                                     +++++++
[INFO] [stdout] help: instead, you are more likely to want to change the argument to be borrowed...
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn classify_number(number: &i32) -> &str {
[INFO] [stdout]   |                            +
[INFO] [stdout] help: ...or alternatively, you might want to return an owned value
[INFO] [stdout]   |
[INFO] [stdout] 1 - fn classify_number(number: i32) -> &str {
[INFO] [stdout] 1 + fn classify_number(number: i32) -> String {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> examples/functions_demo.rs:137:5
[INFO] [stdout]     |
[INFO] [stdout] 136 |     return result;
[INFO] [stdout]     |     ------------- any code following this expression is unreachable
[INFO] [stdout] 137 |     println!("unreachable code");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `apples`
[INFO] [stdout]  --> examples/functions_demo.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let apples = 50;
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_apples`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_v1` is never used
[INFO] [stdout]    --> examples/functions_demo.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn add_v1(first:i32, second: i32) -> i32{
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `swim_in_profit` is never used
[INFO] [stdout]    --> examples/functions_demo.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn swim_in_profit(){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decimal_range`
[INFO] [stdout]   --> examples/range_demo.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let decimal_range = 1.0..=31.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimal_range`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "18b45053e67658083df1fba340482d790c6a7406d5b56c3e057007725938cd54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18b45053e67658083df1fba340482d790c6a7406d5b56c3e057007725938cd54", kill_on_drop: false }`
[INFO] [stdout] 18b45053e67658083df1fba340482d790c6a7406d5b56c3e057007725938cd54
